header {
    .top_nav {
        height: 3rem;
        background-color: #ececec;
        text-align: center;
        line-height: 3rem;
        padding: 0 10px;
        box-sizing: border-box;

        a {
            color: #929292;
            padding: 0 10px;
            border-right: 1px solid #b1b1b1;
        }

        li {
            float: left;
        }

        .left_nav {
            li:last-of-type {
                a {
                    border-right: 0 none;
                }
            }

        }

        .right_nav {
            li:last-of-type {
                a {
                    border-right: 0 none;
                }

                span {
                    color: #ff232d;
                }
            }
        }
    }
}





/* .top_search_container {
    height: 8rem;
    .container {
        height: inherit;
        .left_icon {
            padding: 2rem;
            border: none;
        }
        .search_container {
            height: inherit;
            .flexCenter();
            input {
                .toBlock(20rem, 3rem);
                border-color: orange;
                padding: 0 1rem;
            }
            button {
                .toBlock(3.5rem, 3rem);
                border-color: orange;
            }
        }
    }
} */

.top_search_container {
    height: 8rem;
}

.top_search_container .container {
    height: inherit;
}

.top_search_container .container .left_icon {
    padding: 2rem;
    border: none;
}

.top_search_container .container .search_container {
    height: inherit;
}

.top_search_container .container .search_container input {
    width: 20rem;
    height: 2rem;
    border-color: orange;
    padding: 0 1rem;
}

.top_search_container .container .search_container button {
    width: 3.5rem;
    height: 2rem;
    border-color: orange;
}


.top_search_container .container .search_container {
    /* margin-left: 20px; 左边外边距为 20px */
    margin-top: 0px;
    display: grid;
    grid-template-columns: auto auto; /* 两列，宽度自适应内容 */
    align-items: center; /* 垂直居中 */
} 

.top_search_container .container .left_icon {
    height: 100%; /* 设置左侧图标容器的高度等于搜索栏容器的高度 */
    padding: 2rem;
    border: none;
    margin-top: 10px;
}

